home *** CD-ROM | disk | FTP | other *** search
/ Hráč 2004 August / Hrac_72_2004-08_dvd.iso / dema / Rapid Gun / rg_setup.exe / common / phase_transparent.fx < prev    next >
Text File  |  2004-04-19  |  712b  |  26 lines

  1. // LF2 Engine
  2. // (C) 2002-3 7FX
  3. //---------------------------------------------------------------------------
  4. // Desc
  5. string desc : Description = "Phase shader, ktery definuje render states pro pruhledne meshe.";
  6. // Shader type phase
  7. string type : Type = "phase"; 
  8. //---------------------------------------------------------------------------
  9. technique phase_transparent
  10. {
  11.     // Only one pass
  12.     pass p0
  13.     <
  14.         bool Drawable = false;
  15.         string SortType = "BackToFront";
  16.     >
  17.     {
  18.         CullMode = None;
  19.         // blend
  20.         AlphaBlendEnable = true;
  21.         SrcBlend = SrcAlpha;
  22.         DestBlend = InvSrcAlpha;
  23.         // depth
  24.         ZWriteEnable = false;
  25.     }
  26. }